package pers.chao.logger.vo;

import pers.chao.logger.api.AccessLogListener;

/**
 * Description: 支持排序的listener，有序执行不同的监听
 *
 * @author W.Chao
 * @date 2020/12/27 2:42
 **/
public class SortedListener {
	private int order;
	private AccessLogListener listener;

	public SortedListener(int order, AccessLogListener listener) {
		this.order = order;
		this.listener = listener;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public AccessLogListener getListener() {
		return listener;
	}

	public void setListener(AccessLogListener listener) {
		this.listener = listener;
	}
}
